package com.liqin.nothing.service;

import org.springframework.web.servlet.mvc.method.annotation.SseEmitter;

/**
 * @author gonghl
 */
public interface SseService {

    SseEmitter connect(String id);

    boolean disconnect(String id);

    boolean sendPrivate(String id, String msg);

    boolean sendGroup(String msg);

}
